# 2024-6 编程2
n=int(input())
for i in range(1,11):
    if i*i*i==n:
        print('yes')
        break
    elif i*i*i>n:
        print('no')
        break